﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MemberUser/MemberMaster.Master" AutoEventWireup="true" CodeBehind="MyVoucherList.aspx.cs" Inherits="ZLCMS.Web.MemberUser.MyVoucherList" EnableViewState="False" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>
<%@ Register src="UC/MemberCategory.ascx" tagname="MemberCategory" tagprefix="uc1" %>
<%@ Register src="UC/Ad_Right.ascx" tagname="Ad_Right" tagprefix="uc2" %>

<%@ MasterType VirtualPath="~/MemberUser/MemberMaster.Master" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--wrapper start-->
<div id="wrapper">
	<!--left start-->
    <div class="shop_left">
        <uc1:MemberCategory ID="MemberCategory1" runat="server" />
    </div>
    <!--left end-->
    
    <!--centent start-->
    <div class="shop_centent">
    	<h2>我的代金券</h2>
        <div class="box_order" id="div_orders">
         
<asp:Repeater ID="rpt_pro" runat="server" >
<ItemTemplate>
  <div class="orders" id='div_order'>
            	
            	<div class="boss">
                <table width="100%" border="0">
                  <tr>
                    <th scope="col" class="order_detail">
                     
                        <ul>
                            <li><a href='/product/ProductDetail.aspx?no=<%# Eval("ProductNo") %>' ><img src='<%# Eval("ThumbnailImg") %>' width="80" height="70" /></a></li>
                            <li><div class="detail_text"><a href='javascript:void(0);' ><%# Eval("Title") %></a></div><div class="detail_tex">  <div class="detail_tex"></div></div></li>
                            <li class="nu"><%# Eval("TicketCode") %></li>
                            <div class="clear"></div>
                        </ul>
                    </th>
                    <th scope="col" class="another">
                       <p style=" text-align:center; color:#707070;"><%# Eval("Status") as string=="1"?"未使用":"" %> <%# Eval("Status") as string=="9"?"已使用":"" %></p>
                 
                    <p class="button" style='<%# Eval("Status") as string =="9"?"display:none;":"display:block;" %>'>
                       <a  onclick="javascript:alert('验证码：<%# Eval("ExchangeCode") %>');"  >查看验证码</a> 
                    </p>
                    </th>
                  </tr>
                </table>    
            </div>
            </div>

          
</ItemTemplate>
                </asp:Repeater>


        </div>
    </div>
    <!--centent end-->
    
    <!--right start-->
    <div class="shop_right">
        <uc2:Ad_Right ID="Ad_Right1" runat="server" />
    </div>
    <!--right end-->
    
    <div class="clear"></div>
</div>
<!--wrapper end-->

</asp:Content>
